package com.xin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xin.entity.crm.PermissionEntity;
import com.xin.entity.crm.RoleEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleService extends IService<RoleEntity> {

    /**
     * 查看所有角色信息
     * @return
     */
    List<RoleEntity> findList();


    List<String> findEmployeeHasPermission(Long id);
}
